package com.lagou.edu.minicat.core;

import com.lagou.edu.minicat.base.LifecycleBase;
import lombok.Data;

@Data
public class Service extends LifecycleBase {
    private Engine engine;

    @Override
    protected void initInternal() {
        engine.init();
    }

    @Override
    protected void startInternal() {
        engine.start();
    }
}
